//
//  XMLStoreTestingMain.m
//  atomicstore
//
//  Created by Stephan Zehrer on 02.03.11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "XMLStoreTestingMain.h"

#import	"GeneralStoreTesting.h"

//#import <SenTestingKit/SenTestingKit.h>



@implementation XMLStoreTestingMain

@end


int main(int argc, char *argv[]) {    
    NSAutoreleasePool *pool = [NSAutoreleasePool new];
	
	NSBundle *xmlStoreFramework = [NSBundle bundleWithPath:@"XMLStore.framework"];
    [xmlStoreFramework load];
	
    //SenTestSuite *suite = [SenTestSuite defaultTestSuite];
    //if (suite != nil) {
	//	NSLog(@"%d tests", [suite testCaseCount]);
	//	[suite run];
    //}
	
	GeneralStoreTesting *test = [[GeneralStoreTesting alloc] init];
	
	//NSObject *test = nil;
	
	[test setUp];
	
	[test testStore];
	
	
	//[test testXMLWrite];
	
	[test testXMLRead];
	
	
	[test tearDown];
	
	[test release];
    [pool drain];
    //[NSThread sleepUntilDate:[NSDate distantFuture]];
    return 0;
}
